package com.catering.service.impl;

import com.catering.domain.OrderDishes;
import com.catering.domain.Orderr;
import com.catering.mapper.OrderDishesMapper;
import com.catering.service.OrderDishesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderDishesServiceImpl implements OrderDishesService {
    @Autowired
    private OrderDishesMapper orderDishesMapper;
    @Override
    public int addOderDish(OrderDishes orderDishes) {
        return orderDishesMapper.insertSelective(orderDishes);
    }

    @Override
    public List<Orderr> selectOderDishById(int id) {
        return null;
    }

    @Override
    public List<Orderr> selectOderDishByOrderId(int userId) {
        return null;
    }

    @Override
    public int deleteOrderDishById(int id) {
        return 0;
    }
}
